﻿using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WPS.SDK.model.yunfile
{
    /// <summary>
    /// 文件重命名
    /// </summary>
    public class FileRename
    {
        public string msg;
        public long result;

        public static FileRename fromJsonObject(JObject jsonObject)
        {
            FileRename fileRename = new FileRename();
            fileRename.msg = jsonObject["msg"].ToString();
            fileRename.result = Convert.ToInt64(jsonObject["result"]);
            return fileRename;
        }
    }
}
